projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c2709d
)
core: We actually want rdev, not dev for devices
author
Colin Walters
<walters@verbum.org>
Tue, 15 Nov 2011 20:15:46 +0000
(15:15 -0500)
committer
Colin Walters
<walters@verbum.org>
Tue, 15 Nov 2011 20:15:46 +0000
(15:15 -0500)
src/libostree/ostree-core.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-core.c
b/src/libostree/ostree-core.c
index ca0fb1f537ab733fd59d76e2e5127304b8161f86..0d7c6d8701f5877209ea493c966102eae2a2e3cb 100644
(file)
--- a/
src/libostree/ostree-core.c
+++ b/
src/libostree/ostree-core.c
@@
-479,7
+479,7
@@
ostree_pack_object (GOutputStream *output,
}
else if (S_ISBLK (mode) || S_ISCHR (mode))
{
- device = g_file_info_get_attribute_uint32 (finfo, G_FILE_ATTRIBUTE_UNIX_
DEVICE
);
+ device = g_file_info_get_attribute_uint32 (finfo, G_FILE_ATTRIBUTE_UNIX_
RDEV
);
object_size = 4;
}
else if (S_ISFIFO (mode))